<!doctype html>

<html>
<head>
    <link href="style.css" rel="stylesheet">

    <script src="../lib/jquery-1.11.1.js"></script>
    <script src="../lib/jquery.easing-1.3.js"></script>
    <script src="../lib/jquery.easing.compatibility.js"></script>
    <script src="../lib/jquery.mousewheel-3.1.12.js"></script>
    <script src="../src/jquery.jcarousellite.js"></script>
    <!--<script src="../src/jquery.jcarousellite.min.js"></script>-->
</head>
<body>
<div id="jcl-demo">

<p>
    Test: If a circular carousel with just one image works fine
</p>

<div class="custom-container circular">
    <button class="prev">&laquo;</button>
    <div class="carousel">
        <ul>
            <li><img src="image/0.jpg"></li>
        </ul>
    </div>
    <button class="next">&raquo;</button>
    <div class="clear"></div>
</div>

<pre>
    $(function() {
        $(".circular .carousel").jCarouselLite({
            btnNext: ".circular .next",
            btnPrev: ".circular .prev",
            visible: 3,
            auto: 500
        });
    });
</pre>

<script type="text/javascript">
    $(function() {
        $(".circular .carousel").jCarouselLite({
            btnNext: ".circular .next",
            btnPrev: ".circular .prev",
            visible: 3,
            auto: 500
        });
    });
</script>

<p>
    Test: If non-circular carousel with just one image works fine
</p>

<div class="custom-container non-circular">
    <button class="prev">&laquo;</button>
    <div class="carousel">
        <ul>
            <li><img src="image/0.jpg"></li>
        </ul>
    </div>
    <button class="next">&raquo;</button>
    <div class="clear"></div>
</div>

<pre>
    $(function() {
        $(".non-circular .jCarouselLite").jCarouselLite({
            btnNext: ".non-circular .next",
            btnPrev: ".non-circular .prev",
            circular:false,
            visible: 3,
            auto: 500
        });
    });
</pre>

<script type="text/javascript">
    $(function() {
        $(".non-circular .carousel").jCarouselLite({
            btnNext: ".non-circular .next",
            btnPrev: ".non-circular .prev",
            circular:false,
            visible: 3,
            auto: 500
        });
    });
</script>

</div>
</body>

</html>